﻿// BookInfo.cs
//

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ServiceModel.DomainServices;

namespace BookClub.Web.DataModel {

    public class BookInfo {

        public DateTime AddedDate {
            get;
            set;
        }

        public string ASIN {
            get;
            set;
        }

        public string Author {
            get;
            set;
        }

        [Key]
        public int BookID {
            get;
            set;
        }

        public int CategoryID {
            get;
            set;
        }

        public bool CheckedOut {
            get;
            set;
        }

        public string Description {
            get;
            set;
        }

        public int Likes {
            get;
            set;
        }

        public DateTime PublishDate {
            get;
            set;
        }

        public int Requests {
            get;
            set;
        }

        public string SharedBy {
            get;
            set;
        }

        public string Title {
            get;
            set;
        }
    }
}
